package com.spring.cloud.study.user.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.spring.cloud.study.common.entity.SysRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: 齐丹枫
 * Date: 2018/6/1
 * Time: 13:17
 * To change this template use File | Settings | File Templates.
 * Description:
 */
@Mapper
public interface SysRoleDao extends BaseMapper<SysRole>{

    List<SysRole> findRoleByIds(@Param("ids") List<Integer> ids);

    SysRole findRoleById(@Param("id") List<Integer> id);

}
